Skip to content

Conversation

lethemanh
Copy link
Contributor

Change:

Update getFullpath function to accept driveId to be used in shared drive.

Comment on lines 347 to 349
Q(DOCTYPE_FILES)
.getById(dirId)
.sharingById(driveId)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or we can

  let query = Q(DOCTYPE_FILES).getById(dirId)

  if (driveId) {
    query = query.sharingById(driveId)
  }

  const { data: parentDir } = await client.query(query)

@lethemanh lethemanh force-pushed the update-get-full-path-to-use-in-shared-drive branch from 6596402 to dc3c9c1 Compare September 24, 2025 04:36
@lethemanh lethemanh force-pushed the update-get-full-path-to-use-in-shared-drive branch from dc3c9c1 to f001ac8 Compare September 24, 2025 04:46
@rezk2ll rezk2ll merged commit 9d3c7c9 into master Sep 24, 2025
3 checks passed
@rezk2ll rezk2ll deleted the update-get-full-path-to-use-in-shared-drive branch September 24, 2025 05:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants